package com.xbfinance.portal.service;


import com.xbfinance.portal.pojo.po.P2pUser;

public interface UserService {
    boolean isNameExist(String username);

    boolean isEmailExist(String email);

    P2pUser regist(P2pUser p2pUser, String registerip);

    boolean putInfo(String realname, String cardnum, Integer userid);

    void checkEmailPhone(Integer userid);

    P2pUser login(String email, String loginpass);

    void sendCheckEmail(P2pUser user);

    P2pUser checkPaypass(Integer userid, String paypass);
}
